<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<form action="${pageContext.request.contextPath}/user/alter.do" method="post" class="form">
					
						用户名：<input type="text" placeholder="${displayuser.uname}" name="uname" id="uname" value="" class="form-control"/>
					
						密码：<input type="text"  placeholder="${displayuser.upsd}" value="" id="upsd"  name="upsd" class="form-control"/>
					
						确认密码：<input type="text" id="" value="" class="form-control"/>
					
					爱好：<table>
		   <c:forEach items="${hobbylist}" var="hobby">
                 <tr>
			          <td>${hobby.hinfo}</td><td> <a href="${pageContext.request.contextPath}/user/deletehobby.do?hid=${hobby.hid}">删除</a></td>
			     </tr>
		       </c:forEach>
		       </table>
		       新增其他爱好：<input type="text" id="hinfo" name="hinfo"  value="" />
			<input type="submit" value="提交" class="btn btn-danger" />
						<button class="btn btn-danger">返回</button>
			
				</form>
	
</body>
</html>